import Layout from '@/layout/index.vue'
const AssetGeneral = {
  path: '/asset-general',
  redirect:'noRedirect',
  component: Layout,
  meta: { title: '资产相关', icon: 'table' },
  alwaysShow: true,
  children: [
    {
      path: 'asset',
      name: 'Asset',
      component: () => import('@/views/asset-general/asset/index.vue'),
      meta: { title: '资产列表', icon: 'nested' }
    },
    {
      path:'vulnerability',
      name: 'Vulnerability',
      component:()=>import('@/views/asset-general/vulnerability/index.vue'),
      meta: {title: '漏洞列表',icon: 'nested'}
    },
    {
      path:'service',
      name: 'Service',
      component:()=>import('@/views/asset-general/service/index.vue'),
      meta: {title: '服务列表',icon: 'nested'}
    },
    {
      path:'asset-detail',
      name: 'AssetDetail',
      component:()=>import('@/views/asset-general/asset/detail/index.vue'),
      hidden:true,
      meta: {title: '资产详情'}
    },
    {
      path: 'vulnerability-detail',
      name: 'VulnerabilityDetail',
      component:()=>import('@/views/asset-general/vulnerability/detail/index.vue'),
      hidden: true,
      meta: {title: '漏洞详情'}
    }
  ]
}

export default AssetGeneral
